package com.blog.mapper;

import com.blog.model.Page;
import com.blog.pojo.Cate;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;

public interface CateMapper extends CommonMapper<Cate> {
    int countByExample(Cate cate) throws DataAccessException;
    
    List<Cate> selectByExample(@Param("cate")Cate cate,@Param("page")Page page) throws DataAccessException;
 
    List<Cate> listAllCate(@Param("cateStatus")Integer cateStatus) throws DataAccessException;
   
}